package com.young.monitor.model;

import com.young.common.core.excel.ExcelColumn;
import java.util.Date;
/**
 * api监控指标实体类
 * Created by imrookie on 2019-7-2.
 */
public class ApiIndex{

    @ExcelColumn(value = "主键", order = 1)
    private Long id;//主键
    @ExcelColumn(value = "方法KEY", order = 2)
    private String keyCode;//方法KEY
    @ExcelColumn(value = "应用名", order = 3)
    private String appName;//应用名
    @ExcelColumn(value = "年,例如:2019", order = 4)
    private Long timeYear;//年,例如:2019
    @ExcelColumn(value = "月,例如:201907", order = 5)
    private Long timeMonth;//月,例如:201907
    @ExcelColumn(value = "日,例如:20190702", order = 6)
    private Long timeDay;//日,例如:20190702
    @ExcelColumn(value = "时:例如:2019070221", order = 7)
    private Long timeHour;//时:例如:2019070221
    @ExcelColumn(value = "分钟(精确的为5),例如:2019022125,00,05,10,15,20等", order = 8)
    private Long timeMinute5;//分钟(精确的为5),例如:2019022125,00,05,10,15,20等
    @ExcelColumn(value = "分钟,例如:201907022129,目前的最小单位", order = 9)
    private Long timeMinute;//分钟,例如:201907022129,目前的最小单位
    @ExcelColumn(value = "TP50", order = 10)
    private Long tp50;//TP50
    @ExcelColumn(value = "TP90", order = 11)
    private Long tp90;//TP90
    @ExcelColumn(value = "TP99", order = 12)
    private Long tp99;//TP99
    @ExcelColumn(value = "TP999", order = 13)
    private Long tp999;//TP999
    @ExcelColumn(value = "最短耗时", order = 14)
    private Long minMs;//最短耗时
    @ExcelColumn(value = "最长耗时", order = 15)
    private Long maxMs;//最长耗时
    @ExcelColumn(value = "平均耗时", order = 16)
    private Long avgMs;//平均耗时
    private Float availability;//可用率
    @ExcelColumn(value = "调用次数", order = 17)
    private Long callNum;//调用次数
    private String serverIp;//服务器ip
    @ExcelColumn(value = "创建时间", order = 18)
    private Date createTime;//创建时间

    private String orderBy;//排序字段
    private String orderType;//排序类型,升序asc/降序desc

    public ApiIndex(){
        super();
    }

    public Float getAvailability() {
        return availability;
    }

    public void setAvailability(Float availability) {
        this.availability = availability;
    }

    public String getServerIp() {
        return serverIp;
    }

    public void setServerIp(String serverIp) {
        this.serverIp = serverIp;
    }

    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getKeyCode() {
        return keyCode;
    }
    public void setKeyCode(String keyCode) {
        this.keyCode = keyCode;
    }
    public String getAppName() {
        return appName;
    }
    public void setAppName(String appName) {
        this.appName = appName;
    }
    public Long getTimeYear() {
        return timeYear;
    }
    public void setTimeYear(Long timeYear) {
        this.timeYear = timeYear;
    }
    public Long getTimeMonth() {
        return timeMonth;
    }
    public void setTimeMonth(Long timeMonth) {
        this.timeMonth = timeMonth;
    }
    public Long getTimeDay() {
        return timeDay;
    }
    public void setTimeDay(Long timeDay) {
        this.timeDay = timeDay;
    }
    public Long getTimeHour() {
        return timeHour;
    }
    public void setTimeHour(Long timeHour) {
        this.timeHour = timeHour;
    }
    public Long getTimeMinute5() {
        return timeMinute5;
    }
    public void setTimeMinute5(Long timeMinute5) {
        this.timeMinute5 = timeMinute5;
    }
    public Long getTimeMinute() {
        return timeMinute;
    }
    public void setTimeMinute(Long timeMinute) {
        this.timeMinute = timeMinute;
    }
    public Long getTp50() {
        return tp50;
    }
    public void setTp50(Long tp50) {
        this.tp50 = tp50;
    }
    public Long getTp90() {
        return tp90;
    }
    public void setTp90(Long tp90) {
        this.tp90 = tp90;
    }
    public Long getTp99() {
        return tp99;
    }
    public void setTp99(Long tp99) {
        this.tp99 = tp99;
    }
    public Long getTp999() {
        return tp999;
    }
    public void setTp999(Long tp999) {
        this.tp999 = tp999;
    }
    public Long getMinMs() {
        return minMs;
    }
    public void setMinMs(Long minMs) {
        this.minMs = minMs;
    }
    public Long getMaxMs() {
        return maxMs;
    }
    public void setMaxMs(Long maxMs) {
        this.maxMs = maxMs;
    }
    public Long getAvgMs() {
        return avgMs;
    }
    public void setAvgMs(Long avgMs) {
        this.avgMs = avgMs;
    }
    public Long getCallNum() {
        return callNum;
    }
    public void setCallNum(Long callNum) {
        this.callNum = callNum;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

}